
package com.rrd.mex.dw.mr;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.util.Tool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author liubaoxin
 */
public abstract class BaseJob extends Configured implements Tool{
	protected static  Logger log = LoggerFactory.getLogger(BaseJob.class);
	
	public BaseJob(){
		super(getConfiguration());
	}
	public static Configuration getConfiguration() {
		Configuration conf = new Configuration();
      
        log.info("hbase.master:"+conf.get("hbase.master"));
        log.info("hbase.zookeeper.quorum:"+conf.get("hbase.zookeeper.quorum"));
        return conf;
    	
    }
	
	

}